package com.cyl.manager.ums.convert;

import com.cyl.manager.ums.domain.entity.MemberAddress;
import com.cyl.manager.ums.domain.vo.MemberAddressVO;
import org.mapstruct.Mapper;
import org.mapstruct.MappingConstants;
import org.mapstruct.ReportingPolicy;

import java.util.List;

/**
 * 会员收货地址  DO <=> DTO <=> VO / BO / Query
 *
 * @author zcc
 */
@Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE, componentModel = MappingConstants.ComponentModel.SPRING)
public interface MemberAddressConvert {

    List<MemberAddressVO> dos2vos(List<MemberAddress> list);
}
